package com.cloud.spring.demo.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

@Document(indexName = "user", type = "type1")
@Data
public class User implements Serializable {
    private int id;
    private String name;
}
